package com.powerteam.mapper.crm;

import com.powerteam.model.crm.ShareGroup;
import org.apache.ibatis.annotations.Mapper;

/**
 * 共享资源表相关的操作
 *
 * @author jinming.zhang
 * @version 0.0.1
 * @date 2021/12/30
 */
@Mapper
public interface ShareGroupMapper {

    /**
     * 创建共享组信息
     *
     * @param shareGroup
     * @Author jinming.zhang
     * @Date 2022/1/6
     * @return int
     */
    int insertShareGroup(ShareGroup shareGroup);

    /**
     * 根据资源信息删除资源组信息
     *
     * @param shareGroup
     * @Author jinming.zhang
     * @Date 2022/1/7
     * @return int
     */
    int deleteByResource(ShareGroup shareGroup);
}
